
// 登录请求
class UserRequestEntity {
  final String? username;
  final String? mobile;
  final String? password;
  final String? captcha;
  final String? code;
  final String? webSource;
  final String? mobileSource;
  final bool? rememberMe;
  final String? deviceId;

  UserRequestEntity({
     this.username,
    this.mobile, this.captcha,
    this.password,
    this.code,
    this.webSource,
    this.mobileSource,
     this.rememberMe,
     this.deviceId,
  });

  factory UserRequestEntity.fromJson(Map<String, dynamic> json) =>
      UserRequestEntity(
        username: json["username"],
        mobile: json["mobile"],
        password: json["password"],
        captcha: json["captcha"],
        code: json["code"],
        webSource: json["webSource"],
        mobileSource: json["mobileSource"],
        rememberMe: json["rememberMe"],
        deviceId: json["deviceId"],
      );

  Map<String, dynamic> toJson() => {
        "username": username,
        "mobile": mobile,
        "password": password,
        "captcha": captcha,
        // "code": code,
        // "webSource": webSource,
        "mobileSource": mobileSource,
        "rememberMe": rememberMe,
        "deviceId": deviceId,
      };
}

// 登录返回
class UserResponseEntity {
  int? code;
  List<Dept>? dept;
  String? expire;
  List<Flat>? flat;
  List<Org>? org;
  Result? result;
  String? token;
  Users? users;
  UserResponseEntityPassport? passport;

  UserResponseEntity(
      {this.code,
      this.dept,
      this.expire,
      this.flat,
      this.org,
      this.result,
        this.passport,
      this.token,
      this.users});

  UserResponseEntity.fromJson(Map<String, dynamic> json) {
    code = json['code'];
    if (json['department'] != null) {
      dept = [];
      json['department'].forEach((v) {
        dept!.add(new Dept.fromJson(v));
      });
    }
    expire = json['expire'];
    if (json['flat'] != null) {
      flat = [];
      json['flat'].forEach((v) {
        flat!.add(new Flat.fromJson(v));
      });
    }
    if (json['org'] != null) {
      org = [];
      json['org'].forEach((v) {
        org!.add(new Org.fromJson(v));
      });
    }
    // org =
    //     json['org'] != null ? new Org.fromJson(json['org']) : null;
    result =
        json['passport'] != null ? new Result.fromJson(json['passport']) : null;
    token = json['token'];
    users = json['user'] != null ? new Users.fromJson(json['user']) : null;
    passport = (json['passport'] != null) ? UserResponseEntityPassport.fromJson(json['passport']) : null;
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['code'] = this.code;
    if (this.dept != null) {
      data['department'] = this.dept!.map((v) => v.toJson()).toList();
    }
    data['expire'] = this.expire;
    if (this.flat != null) {
      data['flat'] = this.flat!.map((v) => v.toJson()).toList();
    }
    if (this.org != null) {
      data['org'] = this.org!.map((v) => v.toJson()).toList();
    }
    // if (this.org != null) {
    //   data['org'] = this.org.toJson();
    // }
    if (this.result != null) {
      data['passport'] = this.result!.toJson();
    }
    data['token'] = this.token;
    if (this.users != null) {
      data['user'] = this.users!.toJson();
    }
    return data;
  }
}

class Dept {
  Department? department;
  DeptMember? deptMember;

  Dept({this.department, this.deptMember});

  Dept.fromJson(Map<String, dynamic> json) {
    department = json['department'] != null
        ? new Department.fromJson(json['department'])
        : null;
    deptMember = json['deptMember'] != null
        ? new DeptMember.fromJson(json['deptMember'])
        : null;
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    if (this.department != null) {
      data['department'] = this.department!.toJson();
    }
    if (this.deptMember != null) {
      data['deptMember'] = this.deptMember!.toJson();
    }
    return data;
  }
}

class Department {
  String? deptCode;
  String? deptName;
  String? deptShortName;
  int? sortNo;
  String? parentCode;
  String? levelNo;
  String? isLeaf;
  String? editTime;
  String? deptClassic;
  String? deptAbbr;
  String? deptType;
  String? isShow;
  String? flatType;
  String? isBusiness;
  String? fileCode;

  Department(
      {this.deptCode,
      this.deptName,
      this.deptShortName,
      this.sortNo,
      this.parentCode,
      this.levelNo,
      this.isLeaf,
      this.editTime,
      this.deptClassic,
      this.deptAbbr,
      this.deptType,
      this.isShow,
      this.flatType,
      this.isBusiness,
      this.fileCode});

  Department.fromJson(Map<String, dynamic> json) {
    deptCode = json['deptCode'];
    deptName = json['deptName'];
    deptShortName = json['deptShortName'];
    sortNo = json['sortNo'];
    parentCode = json['parentCode'];
    levelNo = json['levelNo'];
    isLeaf = json['isLeaf'];
    editTime = json['editTime'];
    deptClassic = json['deptClassic'];
    deptAbbr = json['deptAbbr'];
    deptType = json['deptType'];
    isShow = json['isShow'];
    flatType = json['flatType'];
    isBusiness = json['isBusiness'];
    fileCode = json['fileCode'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['deptCode'] = this.deptCode;
    data['deptName'] = this.deptName;
    data['deptShortName'] = this.deptShortName;
    data['sortNo'] = this.sortNo;
    data['parentCode'] = this.parentCode;
    data['levelNo'] = this.levelNo;
    data['isLeaf'] = this.isLeaf;
    data['editTime'] = this.editTime;
    data['deptClassic'] = this.deptClassic;
    data['deptAbbr'] = this.deptAbbr;
    data['deptType'] = this.deptType;
    data['isShow'] = this.isShow;
    data['flatType'] = this.flatType;
    data['isBusiness'] = this.isBusiness;
    data['fileCode'] = this.fileCode;
    return data;
  }
}

class DeptMember {
  String? userGuid;
  String? userName;
  String? deptCode;
  String? deptName;
  String? isCharge;
  String? isLeader;
  String? affairsCode;
  String? affairsName;
  String? platformCode;
  int? sortNo;
  String? isShow;
  String? flatType;
  String? isDefault;

  DeptMember(
      {this.userGuid,
      this.userName,
      this.deptCode,
      this.deptName,
      this.isCharge,
      this.isLeader,
      this.affairsCode,
      this.affairsName,
      this.platformCode,
      this.sortNo,
      this.isShow,
      this.isDefault,
      this.flatType});

  DeptMember.fromJson(Map<String, dynamic> json) {
    userGuid = json['userGuid'];
    userName = json['userName'];
    deptCode = json['deptCode'];
    deptName = json['deptName'];
    isCharge = json['isCharge'];
    isLeader = json['isLeader'];
    affairsCode = json['affairsCode'];
    affairsName = json['affairsName'];
    platformCode = json['platformCode'];
    sortNo = json['sortNo'];
    isShow = json['isShow'];
    flatType = json['flatType'];
    isDefault = json['isDefault'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['userGuid'] = this.userGuid;
    data['userName'] = this.userName;
    data['deptCode'] = this.deptCode;
    data['deptName'] = this.deptName;
    data['isCharge'] = this.isCharge;
    data['isLeader'] = this.isLeader;
    data['affairsCode'] = this.affairsCode;
    data['affairsName'] = this.affairsName;
    data['platformCode'] = this.platformCode;
    data['sortNo'] = this.sortNo;
    data['isShow'] = this.isShow;
    data['flatType'] = this.flatType;
    data['isDefault'] = this.isDefault;
    return data;
  }
}

class Flat {
  FlatPassport? flatPassport;
  FlatType? flatType;
  UserType? userType;

  Flat({this.flatPassport, this.flatType, this.userType});

  Flat.fromJson(Map<String, dynamic> json) {
    flatPassport = json['flatPassport'] != null
        ? new FlatPassport.fromJson(json['flatPassport'])
        : null;
    flatType = json['flatType'] != null
        ? new FlatType.fromJson(json['flatType'])
        : null;
    userType = json['userType'] != null
        ? new UserType.fromJson(json['userType'])
        : null;
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    if (this.flatPassport != null) {
      data['flatPassport'] = this.flatPassport!.toJson();
    }
    if (this.flatType != null) {
      data['flatType'] = this.flatType!.toJson();
    }
    if (this.userType != null) {
      data['userType'] = this.userType!.toJson();
    }
    return data;
  }
}

class FlatPassport {
  String? userGuid;
  String? flatType;
  String? userType;
  String? isDefault;
  String? isAccess;

  FlatPassport(
      {this.userGuid,
      this.flatType,
      this.userType,
      this.isDefault,
      this.isAccess});

  FlatPassport.fromJson(Map<String, dynamic> json) {
    userGuid = json['userGuid'];
    flatType = json['flatType'];
    userType = json['userType'];
    isDefault = json['isDefault'];
    isAccess = json['isAccess'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['userGuid'] = this.userGuid;
    data['flatType'] = this.flatType;
    data['userType'] = this.userType;
    data['isDefault'] = this.isDefault;
    data['isAccess'] = this.isAccess;
    return data;
  }
}

class FlatType {
  String? flatCode;
  String? flatName;
  int? sortNo;
  String? url;
  String? request;
  String? isSys;
  String? flatKey;

  FlatType(
      {this.flatCode,
      this.flatName,
      this.sortNo,
      this.url,
      this.request,
      this.isSys,
      this.flatKey});

  FlatType.fromJson(Map<String, dynamic> json) {
    flatCode = json['flatCode'];
    flatName = json['flatName'];
    sortNo = json['sortNo'];
    url = json['url'];
    request = json['request'];
    isSys = json['isSys'];
    flatKey = json['flatKey'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['flatCode'] = this.flatCode;
    data['flatName'] = this.flatName;
    data['sortNo'] = this.sortNo;
    data['url'] = this.url;
    data['request'] = this.request;
    data['isSys'] = this.isSys;
    data['flatKey'] = this.flatKey;
    return data;
  }
}

class UserType {
  String? flatCode;
  String? flatName;
  String? userTypeCode;
  String? userTypeName;
  String? userTypeUrl;

  UserType(
      {this.flatCode,
      this.flatName,
      this.userTypeCode,
      this.userTypeName,
      this.userTypeUrl});

  UserType.fromJson(Map<String, dynamic> json) {
    flatCode = json['flatCode'];
    flatName = json['flatName'];
    userTypeCode = json['userTypeCode'];
    userTypeName = json['userTypeName'];
    userTypeUrl = json['userTypeUrl'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['flatCode'] = this.flatCode;
    data['flatName'] = this.flatName;
    data['userTypeCode'] = this.userTypeCode;
    data['userTypeName'] = this.userTypeName;
    data['userTypeUrl'] = this.userTypeUrl;
    return data;
  }
}

class Org {
  String? orgCode;
  String? orgName;
  String? orgClassifyCode;
  String? orgClassifyName;
  String? econCode;
  String? econName;
  String? registCapi;
  String? currencyUnit;
  String? categoryCode;
  String? categoryName;
  String? address;
  String? regNo;
  String? orgNo;
  String? scope;
  String? termStart;
  String? termEnd;
  String? belongOrg;
  String? legalPerson;
  String? startDate;
  String? endDate;
  String? checkDate;
  String? status;
  String? orgno;
  String? creditNo;
  String? districtCode;
  String? actualCapi;
  String? domain;
  String? tags;
  String? revokeReason;
  String? revokeDate;
  String? checkOrg;
  String? chargeOrg;
  String? orgUrl;
  String? syncTime;
  String? createTime;

  Org(
      {this.orgCode,
      this.orgName,
      this.orgClassifyCode,
      this.orgClassifyName,
      this.econCode,
      this.econName,
      this.registCapi,
      this.currencyUnit,
      this.categoryCode,
      this.categoryName,
      this.address,
      this.regNo,
      this.orgNo,
      this.scope,
      this.termStart,
      this.termEnd,
      this.belongOrg,
      this.legalPerson,
      this.startDate,
      this.endDate,
      this.checkDate,
      this.status,
      this.orgno,
      this.creditNo,
      this.districtCode,
      this.actualCapi,
      this.domain,
      this.tags,
      this.revokeReason,
      this.revokeDate,
      this.checkOrg,
      this.chargeOrg,
      this.orgUrl,
      this.syncTime,
      this.createTime});

  Org.fromJson(Map<String, dynamic> json) {
    orgCode = json['orgCode'];
    orgName = json['orgName'];
    orgClassifyCode = json['orgClassifyCode'];
    orgClassifyName = json['orgClassifyName'];
    econCode = json['econCode'];
    econName = json['econName'];
    registCapi = json['registCapi'];
    currencyUnit = json['currencyUnit'];
    categoryCode = json['categoryCode'];
    categoryName = json['categoryName'];
    address = json['address'];
    regNo = json['regNo'];
    orgNo = json['orgNo'];
    scope = json['scope'];
    termStart = json['termStart'];
    termEnd = json['termEnd'];
    belongOrg = json['belongOrg'];
    legalPerson = json['legalPerson'];
    startDate = json['startDate'];
    endDate = json['endDate'];
    checkDate = json['checkDate'];
    status = json['status'];
    orgno = json['orgno'];
    creditNo = json['creditNo'];
    districtCode = json['districtCode'];
    actualCapi = json['actualCapi'];
    domain = json['domain'];
    tags = json['tags'];
    revokeReason = json['revokeReason'];
    revokeDate = json['revokeDate'];
    checkOrg = json['checkOrg'];
    chargeOrg = json['chargeOrg'];
    orgUrl = json['orgUrl'];
    syncTime = json['syncTime'];
    createTime = json['createTime'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['orgCode'] = this.orgCode;
    data['orgName'] = this.orgName;
    data['orgClassifyCode'] = this.orgClassifyCode;
    data['orgClassifyName'] = this.orgClassifyName;
    data['econCode'] = this.econCode;
    data['econName'] = this.econName;
    data['registCapi'] = this.registCapi;
    data['currencyUnit'] = this.currencyUnit;
    data['categoryCode'] = this.categoryCode;
    data['categoryName'] = this.categoryName;
    data['address'] = this.address;
    data['regNo'] = this.regNo;
    data['orgNo'] = this.orgNo;
    data['scope'] = this.scope;
    data['termStart'] = this.termStart;
    data['termEnd'] = this.termEnd;
    data['belongOrg'] = this.belongOrg;
    data['legalPerson'] = this.legalPerson;
    data['startDate'] = this.startDate;
    data['endDate'] = this.endDate;
    data['checkDate'] = this.checkDate;
    data['status'] = this.status;
    data['orgno'] = this.orgno;
    data['creditNo'] = this.creditNo;
    data['districtCode'] = this.districtCode;
    data['actualCapi'] = this.actualCapi;
    data['domain'] = this.domain;
    data['tags'] = this.tags;
    data['revokeReason'] = this.revokeReason;
    data['revokeDate'] = this.revokeDate;
    data['checkOrg'] = this.checkOrg;
    data['chargeOrg'] = this.chargeOrg;
    data['orgUrl'] = this.orgUrl;
    data['syncTime'] = this.syncTime;
    data['createTime'] = this.createTime;
    return data;
  }
}

class Result {
  String? userGuid;
  String? userCode;
  String? userAccount;
  String? userName;
  String? oldPassword;
  String? password;
  String? mobile;
  String? mobileBind;
  String? icon;
  String? createTime;
  String? updateTime;
  String? valid;
  String? isCompany;
  String? curDeviceId;
  String? lastDeviceId;
  String? lastLoginTime;
  String? curLoginTime;
  String? managerLevel;
  String? createUserCode;
  String? createUserName;
  String? updateUserCode;
  String? updateUserName;
  String? deviceId;
  String? deviceBind;

  Result(
      {this.userGuid,
      this.userCode,
      this.userAccount,
      this.userName,
      this.oldPassword,
      this.password,
      this.mobile,
      this.mobileBind,
      this.icon,
      this.createTime,
      this.updateTime,
      this.valid,
      this.isCompany,
      this.curDeviceId,
      this.lastDeviceId,
      this.lastLoginTime,
      this.curLoginTime,
      this.managerLevel,
      this.createUserCode,
      this.createUserName,
      this.updateUserCode,
      this.updateUserName,
      this.deviceId,
      this.deviceBind});

  Result.fromJson(Map<String, dynamic> json) {
    userGuid = json['userGuid'];
    userCode = json['userCode'];
    userAccount = json['userAccount'];
    userName = json['userName'];
    oldPassword = json['oldPassword'];
    password = json['password'];
    mobile = json['mobile'];
    mobileBind = json['mobileBind'];
    icon = json['icon'];
    createTime = json['createTime'];
    updateTime = json['updateTime'];
    valid = json['valid'];
    isCompany = json['isCompany'];
    curDeviceId = json['curDeviceId'];
    lastDeviceId = json['lastDeviceId'];
    lastLoginTime = json['lastLoginTime'];
    curLoginTime = json['curLoginTime'];
    managerLevel = json['managerLevel'];
    createUserCode = json['createUserCode'];
    createUserName = json['createUserName'];
    updateUserCode = json['updateUserCode'];
    updateUserName = json['updateUserName'];
    deviceId = json['deviceId'];
    deviceBind = json['deviceBind'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['userGuid'] = this.userGuid;
    data['userCode'] = this.userCode;
    data['userAccount'] = this.userAccount;
    data['userName'] = this.userName;
    data['oldPassword'] = this.oldPassword;
    data['password'] = this.password;
    data['mobile'] = this.mobile;
    data['mobileBind'] = this.mobileBind;
    data['icon'] = this.icon;
    data['createTime'] = this.createTime;
    data['updateTime'] = this.updateTime;
    data['valid'] = this.valid;
    data['isCompany'] = this.isCompany;
    data['curDeviceId'] = this.curDeviceId;
    data['lastDeviceId'] = this.lastDeviceId;
    data['lastLoginTime'] = this.lastLoginTime;
    data['curLoginTime'] = this.curLoginTime;
    data['managerLevel'] = this.managerLevel;
    data['createUserCode'] = this.createUserCode;
    data['createUserName'] = this.createUserName;
    data['updateUserCode'] = this.updateUserCode;
    data['updateUserName'] = this.updateUserName;
    data['deviceId'] = this.deviceId;
    data['deviceBind'] = this.deviceBind;
    return data;
  }
}

class Users {
  String? userGuid;
  String? userCode;
  String? deptCode;
  String? userAccount;
  String? deptName;
  String? userName;
  String? identityCard;
  String? email;
  String? tel;
  String? sex;
  String? createTime;
  String? updateTime;
  String? createUserCode;
  String? createUserName;
  String? updateUserCode;
  String? updateUserName;
  String? icon;
  String? autograph;

  Users({
    this.userGuid,
    this.userCode,
    this.deptCode,
    this.userAccount,
    this.deptName,
    this.userName,
    this.identityCard,
    this.email,
    this.tel,
    this.sex,
    this.createTime,
    this.updateTime,
    this.createUserCode,
    this.createUserName,
    this.updateUserCode,
    this.updateUserName,
    this.icon,
    this.autograph,
  });

  Users.fromJson(Map<String, dynamic> json) {
    userGuid = json['userGuid'];
    userCode = json['userCode'];
    deptCode = json['deptCode'] ?? '';
    userAccount = json['userAccount'];
    deptName = json['deptName'] ?? '';
    userName = json['userName'];
    identityCard = json['identityCard'];
    email = json['email'];
    tel = json['tel'];
    sex = json['sex'];
    createTime = json['createTime'];
    updateTime = json['updateTime'];
    createUserCode = json['createUserCode'];
    createUserName = json['createUserName'];
    updateUserCode = json['updateUserCode'];
    updateUserName = json['updateUserName'];
    icon = json['icon'];
    autograph = json['autograph'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['userGuid'] = this.userGuid;
    data['userCode'] = this.userCode;
    data['deptCode'] = this.deptCode ?? '';
    data['userAccount'] = this.userAccount;
    data['deptName'] = this.deptName ?? '';
    data['userName'] = this.userName;
    data['identityCard'] = this.identityCard;
    data['email'] = this.email;
    data['tel'] = this.tel;
    data['sex'] = this.sex;
    data['createTime'] = this.createTime;
    data['updateTime'] = this.updateTime;
    data['createUserCode'] = this.createUserCode;
    data['createUserName'] = this.createUserName;
    data['updateUserCode'] = this.updateUserCode;
    data['updateUserName'] = this.updateUserName;
    data['icon'] = this.icon;
    data['autograph'] = this.autograph;
    return data;
  }
}

class UserResponseEntityPassport {
/*
{
  "userCode": "ad688cf3-f957-11e9-b9bc-0242ac120002",
  "userAccount": "wangdanxin",
  "userName": "王丹心",
  "oldPassword": "",
  "captcha": "",
  "password": "ff92a240d11b05ebd392348c35f781b2",
  "mobile": "18611180617",
  "mobileBind": "Y",
  "valid": "1",
  "createTime": "0001-01-01T00:00:00Z",
  "createUserCode": "",
  "createUserName": "",
  "curDeviceId": "mobile",
  "curLoginTime": "2021-12-20T15:46:14+08:00",
  "lastDeviceId": "mobile",
  "lastLoginTime": "2021-12-20T15:44:11+08:00",
  "failNum": 0,
  "unlockTime": "0001-01-01T00:00:00Z"
}
*/

  String? userCode;
  String? userAccount;
  String? userName;
  String? oldPassword;
  String? captcha;
  String? password;
  String? mobile;
  String? mobileBind;
  String? valid;
  String? createTime;
  String? createUserCode;
  String? createUserName;
  String? curDeviceId;
  String? curLoginTime;
  String? lastDeviceId;
  String? lastLoginTime;
  int? failNum;
  String? unlockTime;

  UserResponseEntityPassport({
    this.userCode,
    this.userAccount,
    this.userName,
    this.oldPassword,
    this.captcha,
    this.password,
    this.mobile,
    this.mobileBind,
    this.valid,
    this.createTime,
    this.createUserCode,
    this.createUserName,
    this.curDeviceId,
    this.curLoginTime,
    this.lastDeviceId,
    this.lastLoginTime,
    this.failNum,
    this.unlockTime,
  });
  UserResponseEntityPassport.fromJson(Map<String, dynamic> json) {
    userCode = json['userCode']?.toString();
    userAccount = json['userAccount']?.toString();
    userName = json['userName']?.toString();
    oldPassword = json['oldPassword']?.toString();
    captcha = json['captcha']?.toString();
    password = json['password']?.toString();
    mobile = json['mobile']?.toString();
    mobileBind = json['mobileBind']?.toString();
    valid = json['valid']?.toString();
    createTime = json['createTime']?.toString();
    createUserCode = json['createUserCode']?.toString();
    createUserName = json['createUserName']?.toString();
    curDeviceId = json['curDeviceId']?.toString();
    curLoginTime = json['curLoginTime']?.toString();
    lastDeviceId = json['lastDeviceId']?.toString();
    lastLoginTime = json['lastLoginTime']?.toString();
    failNum = json['failNum']?.toInt();
    unlockTime = json['unlockTime']?.toString();
  }
  Map<String, dynamic> toJson() {
    final data = <String, dynamic>{};
    data['userCode'] = userCode;
    data['userAccount'] = userAccount;
    data['userName'] = userName;
    data['oldPassword'] = oldPassword;
    data['captcha'] = captcha;
    data['password'] = password;
    data['mobile'] = mobile;
    data['mobileBind'] = mobileBind;
    data['valid'] = valid;
    data['createTime'] = createTime;
    data['createUserCode'] = createUserCode;
    data['createUserName'] = createUserName;
    data['curDeviceId'] = curDeviceId;
    data['curLoginTime'] = curLoginTime;
    data['lastDeviceId'] = lastDeviceId;
    data['lastLoginTime'] = lastLoginTime;
    data['failNum'] = failNum;
    data['unlockTime'] = unlockTime;
    return data;
  }
}

